package com.example.activity.service;

import com.example.activity.entity.Activity;

import java.util.List;

/**
 * @Author: HouZeYu
 * @Description:
 * @Date: Created in 14:05 2019/4/4
 */
public interface ActivityService {
    List<Activity> selectActivityPaginationList(Integer offset);

    int activityListCount();

    Activity selectActivityDetail(Long activityId);

    List<Activity> selectActivityListPage(int offset, int limit);

    int selectActivityPageCount();

    void addActivity(Activity activity);

    void publishActivity(Activity activity);

    void deleteActivity(Activity activity);

}
